package com.th.common.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * <p>
 * 中国行政区域-市
 * </p>
 *
 * @author yangzihuang
 * @since 2022-06-19
 */
@TableName("metadata_cad_city")
@ApiModel(value = "MetadataCadCity对象", description = "中国行政区域-市")
public class MetadataCadCity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    private Integer id;

    @ApiModelProperty("市名")
    private String name;

    @ApiModelProperty("市id")
    private String cityId;

    @ApiModelProperty("所属省id")
    private String provinceId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCityId() {
        return cityId;
    }

    public void setCityId(String cityId) {
        this.cityId = cityId;
    }

    public String getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(String provinceId) {
        this.provinceId = provinceId;
    }

    @Override
    public String toString() {
        return "MetadataCadCity{" +
                "id=" + id +
                ", name=" + name +
                ", cityId=" + cityId +
                ", provinceId=" + provinceId +
                "}";
    }
}
